<?php

/**
 * user actions.
 *
 * @package    maiphoto
 * @subpackage user
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class blocksComponents extends sfComponents {

    public function executeSideMenu(sfWebRequest $request) {
        //$this->aCategories = CategoryTable::getInstance()->findAll();
        $this->user = UserTable::getInstance()->findById(1)->getFirst();
       
        $this->album = AlbumTable::getInstance()->findById(1)->getFirst();
        
        $this->galery = CategoryTable::getInstance()->findById(1)->getFirst();
        
        
    }

}
